package com.ztgf.sys.models.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.common.constant.Result;
import com.ztgf.sys.models.bo.SysInstitutionBO;
import com.ztgf.sys.models.bo.SysInstitutionSaveBO;
import com.ztgf.sys.models.dto.SysInstitutionDTO;
import com.ztgf.sys.models.vo.SysInstitutionVO;

import java.util.List;

/**
 * 制度表服务
 *
 * @author YUE
 * @Date 2020-07-04 17:58:52
 */
public interface ISysInstitutionService extends IService<SysInstitutionDTO> {
    boolean add(SysInstitutionSaveBO saveBO);

    Result<SysInstitutionDTO> getByName(SysInstitutionBO sysInstitutionBO);

    Result<List<SysInstitutionVO>> getTreeListHomeInfo();
}
